package org.jeecg.modules.cosmetic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 产品关联资料
 * @Author: jeecg-boot
 * @Date:   2022-06-30
 * @Version: V1.0
 */
@Data
@TableName("t_product_material")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="t_product_material对象", description="产品关联资料")
public class TProductMaterial implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private java.lang.Long id;
	/**安评报告产品主键*/
	@Excel(name = "安评报告产品主键", width = 15)
    @ApiModelProperty(value = "安评报告产品主键")
    private java.lang.Long productId;
	/**关联文献序号*/
	@Excel(name = "关联文献序号", width = 15)
    @ApiModelProperty(value = "关联文献序号")
    private java.lang.Integer idxNum;
	/**类型（1.文献 2.附录）*/
	@Excel(name = "类型（1.文献 2.附录）", width = 15)
    @ApiModelProperty(value = "类型（1.文献 2.附录）")
    private java.lang.Integer type;
    @Excel(name = "文献关联ID", width = 15)
    @ApiModelProperty(value = "文献关联ID")
    private java.lang.Integer referencesId;
	/**资料名称*/
	@Excel(name = "资料名称", width = 15)
    @ApiModelProperty(value = "资料名称")
    private java.lang.String name;
	/**状态值（-1.删除 0.正常）*/
	@Excel(name = "状态值（-1.删除 0.正常）", width = 15)
    @ApiModelProperty(value = "状态值（-1.删除 0.正常）")
    private java.lang.Integer status;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
}
